import { createRouter, createWebHistory } from 'vue-router'
import DouYinAnalyzer from '../components/DouYinAnalyzer.vue'

const routes = [
    {
        path: '/',
        redirect: '/douyin'
    },
    {
        path: '/douyin',
        name: 'DouYinAnalyzer',
        component: DouYinAnalyzer
    }
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router 